<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>统一授权平台管理系统 V1.0</title>
</head>

<body>
<div class="page-top-bar">
<ul class="path">统一帐号管理<span>&gt;</span>业务系统信息管理
</ul>
</div>
<div class="function-bar">
<ul class="form-function">
<li id="menu1"><a href="javascript:void(0)" onclick="$('#right-content').page('account/pop-account-info-add.html')" onfocus="this.blur()"><img src="../../images/ico16/ico-add.gif" alt="新建" border="0" title="新建" /></a></li>
     <li><a href="javascript:void(0)"><img src="../../images/ico16/ico-edit.gif" alt="修改" title="修改" /></a></li>
     <li><a href="javascript:void(0)" onclick="delDeta()" onfocus="this.blur()"><img src="../../images/ico16/ico-cancel.gif" alt="删除" title="删除" /></a></li>
     <li class="toolbar-line"></li>
     <li id="menu1"><a href="javascript:void(0)" onclick="top.windowOpen('../../pages/person/permissions/pop-common-condition.html', 'pop01', '统一授权平台管理系统 V1.0', 180,400)"><img src="../../images/ico16/ico_commission_16.gif" alt="设置激活状态" border="0" title="设置激活状态" />状态设置</a></li>
</ul>
</div>

<div class="list-container">
<div class="list-search">
<ul>
<li><label for="">业务系统名称：</label><input id="" name="" type="text" class="input-common input-word-10" /></li>
    <li><label for="">业务系统注册序列号：</label><input id="" name="" type="text" class="input-common input-word-10" /></li>
	<li><label for="">活动状态：</label><select id="" name="" class="select-word-10">
            <option selected="selected">全部</option>
	    <option value="HR_MENU"  >活动</option>
            <option value="HR_PAGE"  >停止</option>
	  </select></li>
<li class="search-btn-area">
      <div class="btn-order">
        <ul>
          <li class="left-normal" id="btn1_11"></li>
          <li class="middle-normal" id="btn1_12" onmouseover="btn_change_over(1)" onmouseout="btn_change_out(1)" onblur="btn_change(1)"><img src="../../images/ico16/ico-search.gif" alt="查询" />查 询</li>
          <li class="right-normal" id="btn1_13"></li>
       </ul>
      </div>
	</li>
</ul>
</div>

<div class="toolbar">
<ul>
</ul>
</div>

<div id="grid" class="border-lbr"></div>
</div>
</body>
<script language="javascript">
var grid;
$(document).ready(function(){
	grid = $('#grid').grid({
		pageSize : 15
		,cm : [{checkbox:true}
		,{header: "业务系统名称", dataIndex: 'f1', width:'10%'}
		,{header: "业务系统注册序列号", dataIndex: 'f2', width:'23%'}
		,{header: "业务系统标识", dataIndex: 'f3', width:'8%'}
		,{header: "注册日期", dataIndex: 'f4', width:'8%'}
		,{header: "系统URI", dataIndex: 'f5', width:'17%'}
		,{header: "描述", dataIndex: 'f7', width:'18%'}	
		,{header: "绑定操作", dataIndex: 'f8', sortable: false}	
		,{header: "状态", dataIndex: 'f6', width:'6%'}	
		]		
		,data : {"totalCount":2, "result":[
		{id:"1", f1 : "HR", f2 : "8bb39402-9dc3-427c-b50c-686b11bc6c58" , f3: "00000001" , f4 : "2009-06-20", f5 : "http://www.baidu.com", f6 : "<img src='../../images/ico16/ico-prohibit.gif' alt='停用' title='停用' />", f7 : " ", f8 : " <a href='javascript:void(0)' onclick='abc4()'>帐户绑定</a>"}
		,{id:"1", f1 : "HR", f2 : "8bb39402-9dc3-427c-b50c-686b11bc6c58" , f3: "00000001" , f4 : "2009-06-20", f5 : "http://www.baidu.com", f6 : "<img src='../../images/ico16/ico-pass.gif' alt='激活' title='激活' />", f7 : " ", f8 : " <a href='javascript:void(0)' onclick='abc4()'>帐户绑定</a>"}    
		]}		
				//单选时的菜单
		,contextMenuSingle : [
		{text: '新建',icon: '../../images/ico16/ico-add.gif'
			,handler: function(e){
				$('#right-content').page('account/pop-account-info-add.html');
			}}
			,{text: '修改',icon: '../../images/ico16/ico-edit.gif'
				,handler: function(e){
				var selections = grid.getSelections();
							}}
			,{text: '删除',icon: '../../images/ico16/ico-cancel.gif'
				,handler: function(e){
					var selections = grid.getSelections();
					top.message('确定要删除选中的记录吗？','warning');
			}}
						]
		//多选时的菜单	
		,contextMenuMulti : [
			{text: '删除',icon: '../../images/ico16/ico-cancel.gif'
				,handler: function(e){
					var selections = grid.getSelections();
					top.message('确定要删除选中的记录吗？','warning');
			}}
			 
			]	
	});	
});
function delDeta(){
	top.$.messagebox({type:'ask', msg:'确定要删除选中的记录吗？',title:'RES SaaS业务运营支撑系统 1.0'});
}
function abc4() {
	top.windowOpen('../../pages/person/account/pop-account-info-aut.html', 'pop01', '统一授权平台管理系统 V1.0', 500,770);
}
</script>
</html>
